// 搜索的请求函数

import request from '@/utils/request';

// 获取搜索联想词
export const AssKeysAPI = (params) => {
	return request({
		url: '/v1_0/suggestion',
		params,
	});
};

// 获取搜索结果
export const getResultsAPI = (params) => {
	return request({
		url: '/v1_0/search',
		params,
	});
};
